package com.atguigu.jxc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 商品信息Controller控制器
 */
@Controller
@RequestMapping("/goods")
public class GoodsController {


    @PostMapping("/listInventory")
    @ResponseBody
    public Map<String,Object> listInventory(Integer page, Integer rows, String codeOrName, Integer goodsTypeId){
        // 查询逻辑
        return null;
    }
}
